#include"Rectangle.h"
Rectangle::Rectangle() :width(3), height(10){

}
Rectangle::Rectangle(double width, double height){
	this->width = width;
	this->height = height;
}
Rectangle::Rectangle(const Rectangle & rect){
	this->width = rect.getwidth();
	this->height = rect.getheight();

}
Rectangle::~Rectangle(){

}
double Rectangle::getarea() const{
	return width*height;
}
double Rectangle::getwidth()const{
	return width;
}
void Rectangle::setwidth(double){
	this->width = width;
}
double Rectangle::getheight()const{
	return height;
}
void Rectangle::setheight(double height){
	this->height = height;
}
const Rectangle & Rectangle::operator++(){
	++width;
	++height;
	return*this;
}



